package cn.scxy.bookcity.service.impl;

import cn.scxy.bookcity.mapper.ProvincialMapper;
import cn.scxy.bookcity.pojo.entity.Provincial;
import cn.scxy.bookcity.service.IProvincialService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class ProvincialServiceImpl implements IProvincialService {
    @Autowired
    ProvincialMapper provincialMapper;
    @Override
    public List<Provincial> list() {
        log.debug("开始处理省份列表业务");
        return provincialMapper.list();
    }
}
